package com.ht.service;

import com.ht.bean.Emp;
import com.ht.bean.Notice;
import com.ht.bean.Noticereceiver;
import com.ht.bean.Studentclass;
import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Map;

public interface NoticeService {

    List<Notice> selectNoticeMsg();

    List<Notice> selectNoticeMsgs();

    List<Map> selectNoandEmp(Integer startIndex, Integer pageSize, Emp emp, Notice notice);

    int countNoandEmp(Emp emp, Notice notice);

    boolean deleteNoticeId(Integer noticeId);

    boolean insertNoticeMsg(Notice notice);

    List<Map> selectNoticeByNoticeId(Integer noticeId);

    Notice selectNoticeById(Integer noticeId);

    boolean updateNoticeId(Notice notice);

    List<Studentclass> studentclassList();

    Integer[] selectAllEmpId();

    Integer[] selectAllStuId();

    Integer[] selectAllClaStuId(Notice notice);

    boolean insertNoticeReceivce(Noticereceiver noticereceiver);

    boolean insertNoticeReceivces(Noticereceiver noticereceiver);

    boolean deleteNoticereceiverId(Integer noticeId);

    boolean updnoticereceiver(Noticereceiver noticereceiver);

    boolean updnoticereceivers(Noticereceiver noticereceiver);

    boolean updnoticereceiveres(Noticereceiver noticereceiver);

    List<Map> allsynotice(Notice notice,Integer isStudent);

    List<Map> allsynotices(Notice notice,Integer isStudent);

    List<Map> allsynoticeies(Notice notice,Integer isStudent);

    int countNotice();

    Noticereceiver selectNoc(Integer noticeId);

}
